package BehavioralPattern.Command;

public class HelpCommand extends Command {
    private DisplayHelpClass displayHelpClass;  // 维持对请求接收者的引用

    public HelpCommand() {
        displayHelpClass = new DisplayHelpClass();
    }

    @Override
    public void execute() {
        displayHelpClass.display();
    }
}
